package com.itcp.itelpicture.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itcp.itelpicture.domain.po.Tag;
import org.apache.ibatis.annotations.Select;


/**
* @author wgz
* @description 针对表【tag(标签表)】的数据库操作Mapper
* @createDate 2025-04-12 13:21:17
* @Entity generator.domain.Tag
*/
public interface TagMapper extends BaseMapper<Tag> {

    @Select("select * from tag where category = #{category}")
    Tag getByCategory(String category);
}




